package com.smart.business.dao;

import com.smart.entity.business.MeterTypeEntity;
import com.smart.mybatis.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface MeterTypeDao extends BaseDao<MeterTypeEntity> {
    @Select("SELECT id FROM meter_type WHERE name = #{meterTypeId}")
    String selectByName(String meterTypeId);
}
